import { createRouter, createWebHashHistory } from "vue-router";
type route = {
  path: string;
  name: string;
  component: any;
  children?: [];
};
const routes: route[] = [
  {
    path: "/",
    name: "home",
    component: () => import("@/views/index.vue"),
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});
export default router;